Pelago\Emogrifier\HtmlProcessor\CssToAttributeConverter S

Total Complexity 42
Dependencies 3
Dependents 0
Total lines 304
Lines of code 114
Logical lines of code 73
Comment lines 126
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
mapComplexCssProperty()
S
57 6 18
mapSimpleCssProperty()
S
59 6 13
parseCssDeclarationsBlock()
S
56 4 18
mapMarginProperty()
S
64 4 9
mapBorderProperty()
S
66 4 8
parseCssShorthandValue()
S
63 4 9
mapBackgroundProperty()
S
67 3 7
convertCssToVisualAttributes()
S
68 2 7
mapCssToHtmlAttributes()
S
69 2 6
mapCssToHtmlAttribute()
S
72 2 5
mapWidthOrHeightProperty()
S
68 2 7
isTableOrImageNode()
S
79 2 3
getAllNodesWithStyleAttribute()
S
75 1 4